package com.hzcx.app.simplechat.ui.chat.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.bean.UpLoadImgBean;
import com.hzcx.app.simplechat.ui.chat.bean.ChatBottomAssistantMenuBean;
import com.hzcx.app.simplechat.ui.chat.bean.ChatQuickMsgBean;
import com.hzcx.app.simplechat.ui.group.bean.GroupInfoBean;
import com.hzcx.app.simplechat.ui.main.bean.FriendRequestCountBean;
import com.hzcx.app.simplechat.ui.moment.bean.NewMessageCountBean;
import com.hzcx.app.simplechat.ui.user.bean.UserInfoBean;

import java.util.List;

public interface ChatContract {

    interface View extends IView {
        void userInfoResult(UserInfoBean data, int tag);

        void collectSuccess();

        void upLoadImgSuccess(UpLoadImgBean data, int id);

        void qucikMsgResult(List<ChatQuickMsgBean> data);

        void sendCustomServiceSuccess();

        void chatBottomAssistantMenuResult(List<ChatBottomAssistantMenuBean> data);

        void getAssistantMsgSuccess();

        void userInfoResult(UserInfoBean data);

        void groupInfo(GroupInfoBean data);

        void onFail();
    }

    interface Presenter extends IPresenter<View> {
        void getUserInfo(Context context, int id, int tag, boolean isShow);

        void addChatCollect(Context context, String collectdetail, String collectimage, int member_id);

        void upLoadImg(Activity activity, String url, int id);

        void getChatQuickMsgList(Context context);

        void sendCustomServiceMsg(Context context);

        void getChatBottomAssistantMenu(Context context);

        void getChatAssistantMessage(Context context,String type,int push_id);

        void getUserInfoByQrCode(Context context, String url);

        void getGroupInfo(Context context, String groupID);
    }

}
